﻿using System;

namespace HumanManagement.BusinessObjects
{
	public class PersonalProfile
	{
		#region ***** Fields & Properties ***** 
		private int _ID;
		public int ID
		{ 
			get 
			{ 
				return _ID;
			}
			set 
			{ 
				_ID = value;
			}
		}
		private int _BranchID;
		public int BranchID
		{ 
			get 
			{ 
				return _BranchID;
			}
			set 
			{ 
				_BranchID = value;
			}
		}
		private string _FullName;
		public string FullName
		{ 
			get 
			{ 
				return _FullName;
			}
			set 
			{ 
				_FullName = value;
			}
		}
		private DateTime _DateOfBirth;
		public DateTime DateOfBirth
		{ 
			get 
			{ 
				return _DateOfBirth;
			}
			set 
			{ 
				_DateOfBirth = value;
			}
		}
		private string _Sex;
		public string Sex
		{ 
			get 
			{ 
				return _Sex;
			}
			set 
			{ 
				_Sex = value;
			}
		}
		private string _FamilyRegisterAddress;
		public string FamilyRegisterAddress
		{ 
			get 
			{ 
				return _FamilyRegisterAddress;
			}
			set 
			{ 
				_FamilyRegisterAddress = value;
			}
		}
		private string _ContactAddress;
		public string ContactAddress
		{ 
			get 
			{ 
				return _ContactAddress;
			}
			set 
			{ 
				_ContactAddress = value;
			}
		}
		private int _NationalityID;
		public int NationalityID
		{ 
			get 
			{ 
				return _NationalityID;
			}
			set 
			{ 
				_NationalityID = value;
			}
		}
		private int _ReligionID;
		public int ReligionID
		{ 
			get 
			{ 
				return _ReligionID;
			}
			set 
			{ 
				_ReligionID = value;
			}
		}
		private string _NativeCountry;
		public string NativeCountry
		{ 
			get 
			{ 
				return _NativeCountry;
			}
			set 
			{ 
				_NativeCountry = value;
			}
		}
		private string _IdentificationNumber;
		public string IdentificationNumber
		{ 
			get 
			{ 
				return _IdentificationNumber;
			}
			set 
			{ 
				_IdentificationNumber = value;
			}
		}
		private string _SocialInsuranceNumber;
		public string SocialInsuranceNumber
		{ 
			get 
			{ 
				return _SocialInsuranceNumber;
			}
			set 
			{ 
				_SocialInsuranceNumber = value;
			}
		}
		private DateTime _LastDate;
		public DateTime LastDate
		{ 
			get 
			{ 
				return _LastDate;
			}
			set 
			{ 
				_LastDate = value;
			}
		}
		private int _LastMakerID;
		public int LastMakerID
		{ 
			get 
			{ 
				return _LastMakerID;
			}
			set 
			{ 
				_LastMakerID = value;
			}
		}
		private int _LastApproverID;
		public int LastApproverID
		{ 
			get 
			{ 
				return _LastApproverID;
			}
			set 
			{ 
				_LastApproverID = value;
			}
		}
		private string _ProfileStatus;
		public string ProfileStatus
		{ 
			get 
			{ 
				return _ProfileStatus;
			}
			set 
			{ 
				_ProfileStatus = value;
			}
		}
		private string _Description;
		public string Description
		{ 
			get 
			{ 
				return _Description;
			}
			set 
			{ 
				_Description = value;
			}
		}
        private string _Email;
        public string Email
        {
            get
            {
                return _Email;
            }
            set
            {
                _Email = value;
            }
        }
        private byte[] _Picture;
        public byte[] Picture
        {
            get
            {
                return _Picture;
            }
            set
            {
                _Picture = value;
            }
        }

        
		#endregion

		#region ***** Init Methods ***** 
		public PersonalProfile()
		{
		}
		public PersonalProfile(int id)
		{
			this.ID = id;
		}
		public PersonalProfile(int id, int branchid, string fullname, DateTime dateofbirth, string sex, string familyregisteraddress, string contactaddress, int nationalityid, int religionid, string nativecountry, string identificationnumber, string socialinsurancenumber, DateTime lastdate, int lastmakerid, int lastapproverid, string profilestatus, string description, string email, byte[] picture)
		{
			this.ID = id;
			this.BranchID = branchid;
			this.FullName = fullname;
			this.DateOfBirth = dateofbirth;
			this.Sex = sex;
			this.FamilyRegisterAddress = familyregisteraddress;
			this.ContactAddress = contactaddress;
			this.NationalityID = nationalityid;
			this.ReligionID = religionid;
			this.NativeCountry = nativecountry;
			this.IdentificationNumber = identificationnumber;
			this.SocialInsuranceNumber = socialinsurancenumber;
			this.LastDate = lastdate;
			this.LastMakerID = lastmakerid;
			this.LastApproverID = lastapproverid;
			this.ProfileStatus = profilestatus;
			this.Description = description;
            this.Email = email;
            this.Picture = picture;
		}
		#endregion
	}
}
